LassoScript Utility
Basics Browse Detail

[Duration->Day]

Tag Link [Duration->Day] Category Date
Type Member Source Available No
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type Integer Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

[Duration->Day] returns the integer number of days in a specified duration. The specified duration must first be cast using the [Duration] tag before it can be used.

Syntax

[(Duration)->Day]

Parameters

No Parameters Required.

Examples

To return the number of days in a duration:

The following example returns the number of days in a duration of 72 hours (72:00:00).

[Var:'MyDuration'=(Duration:'72:00:00')]
[$MyDuration->Day]

3